<html><head><title>FinishHTTP</title></head>
<body bgcolor="#EFF1F0" link="#3A3966" vlink="#000000" alink="#000000">
<font face="Verdana, sans-serif" size="2"><p align="center"><b><font size="4">FinishHTTP()</font></b></p>
<p><b>Syntax</b></p><blockquote>
Result = <font color="#3A3966"><b>FinishHTTP</b></font>(HttpConnection)</blockquote>

</blockquote>
<b>Description</b><br><blockquote>

Free the resources associated to the specified asynchronous download, started either with <a href="receivehttpfile.html">ReceiveHTTPFile()</a> or 
<a href="receivehttpmemory.html">ReceiveHTTPMemory()</a>. 

</blockquote><p><b>Parameters</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>HttpConnection</i></td>
<td width="90%"> 
The HTTP connection to finish. 

</td></tr>
</table>
</blockquote><p><b>Return value</b></p><blockquote>

If the download has been successful, it returns the number of bytes written to disk for a download 
start with <a href="receivehttpfile.html">ReceiveHTTPFile()</a>, or the memory buffer address for a download started 
with <a href="receivehttpmemory.html">ReceiveHTTPMemory()</a>. 

</blockquote><p><b>Remarks</b></p><blockquote>

The value <font color="#924B72">#PB_HTTP_Aborted</font> will be returned by <a href="httpprogress.html">HTTPProgress()</a>. 

</blockquote><p><b>See Also</b></p><blockquote>

<a href="httpprogress.html">HTTPProgress()</a>, <a href="aborthttp.html">AbortHTTP()</a> 

</Blockquote><p><b>Supported OS </b><Blockquote>All</Blockquote></p><center><- <a href=aborthttp.html>AbortHTTP()</a> - <a href="index.html">Http Index</a> - <a href="gethttpheader.html">GetHTTPHeader()</a> -><br><br>

</body></html>